<!DOCTYPE html>
<!-- saved from url=(0098)https://www.17sucai.com/preview/1370534/2019-04-04/%E4%B8%AA%E4%BA%BA%E4%B8%AD%E5%BF%83/index.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		
		<title>个人中心</title>
		<link rel="stylesheet" type="text/css" href="./style.css">
	<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css">
		<script src="./jquery-1.11.0.js.下载" type="text/javascript" charset="utf-8"></script>
	<script src="../../jquery/jquery-3.4.1.js"></script>


    <link href="//asserts.xcarimg.com/resource/common/header/header2019.css" rel="stylesheet"
          type="text/css" />
    <link type="text/css" href="//asserts.xcarimg.com/resource/common/header/sprite1x.css"
          rel="stylesheet">
    <link href="css/style.css" rel="stylesheet" type="text/css">


    <link type="text/css" href="//asserts.xcarimg.com/resource/xbb/dist/css/main.css?v=1590924597" rel="stylesheet">
    <!--<link type="text/css" href="//asserts.xcarimg.com/resource/xbb/dist/img/sprite2x/sprite2x.css" rel="stylesheet">-->
    <!--<link rel="stylesheet" href="//asserts.xcarimg.com/resource/common/short_video/css/short_video.css?v=201909101415">-->
    <!--<link rel="icon" href="//icon.xcar.com.cn/favicon.ico?v=20190910" type="image/x-icon">-->
    <!--<link type="text/css" href="//asserts.xcarimg.com/resource/xbb/dist/img/sprite/sprite.css" rel="stylesheet">-->

    <style>
        *{
            margin: 0;
            padding:0;
        }
        #container{
            margin-left: 5%;
        }
        .photo_box1{
            float: left;
            width: 100px;
            text-align: center;
            /*background-color: #5bc0de;*/
        }
        .user_photo1{
            float: left;
            width: 150px;
            height:150px;
            border-radius: 50%;
        }
        .info_box1{
            float: left;
            margin-left: 20%;
        }
        ul {
            list-style-type: none;
        }
    </style>


</head>
	<body>

    <script>
        $.ajax({
            url: '/forum/user/getUserInfo',
            success:function (data) {
                if (data.state === '200' ){
                    console.log(data.data);
                    console.log(data.data.userName);
                    var userName = data.data.userName;
                    var parm = "userName=" + userName;
                    $.ajax({
                        url:"/forum/usercenter/user",
                        data:parm,
                        type:"post",
                    })


                }
            }
        })
    </script>
    <div class="bg-grey">
        <div class="content">
            <div class="tab-block information-tab">
                <div class="personalnformation">
                    <div class="personalnformation-content">
                        <div class="personalnformation-content-left" id="photoName">
                            <!--<img src="./default_avatar.png" />-->
                        </div>
                        <div class="personalnformation-content-right">
                            <!--<p class="personalnformation-content-right-p">姓名：xxx</p>-->
                            <p class="personalnformation-content-right-p" id="bigname"></p>
                            <!--账号名：-->
                        </div>
                    </div>
                </div>
                <div class="tab-buttons ">
                    <h3 class="tab-button cur" data-tab="one" style="width: 20%">个人资料</h3>
                    <h3 class="tab-button" data-tab="two" style="width: 20%">我的帖子</h3>
                    <h3 class="tab-button" data-tab="three" style="width: 20%">关注帖子</h3>
                    <h3 class="tab-button" data-tab="four" style="width: 20%">关注用户</h3>
                    <h3 class="tab-button" data-tab="five" style="width: 20%">粉丝</h3>
                </div>
                <div class="tabs">
                    <div class="tab-item active" id="tab-one">
                        <div class="information-tab">
                            <div class="information-top">
                                <div style="width: 100%">
                                    <!--<p class="information-top-content-p" style="">-->
                                    <div class="information-top-head left" style="margin: 0 auto">
                                        <p class="information-top-head-p">个人资料</p>
                                    </div>
                                </div>
                                <!--<div class="information-top-notes">-->
                                <!--</div>-->
                                <!--<div class="information-top-head left" style=" ">-->
                                <!--<p class="information-top-head-p">个人资料</p>-->
                                <!--</div>-->
                                <!--<div class="information-top-head right">-->
                                <!--<p class="information-top-head-p">点击去修改</p>-->
                                <!--</div>-->
                                <!--<div>-->
                                <!--1234-->
                                <!--</div>-->
                                <!--<div>-->
                                <!--<img src="../../2-post/images/爱车论坛.png" alt="" style="width: 200px;height: 200px">-->
                                <!--</div>-->
                                <!--<div class="information-top-content" style="height: 100px">-->
                                <!--<p class="information-top-content-p" style="line-height: 100px">头像</p>-->
                                <!--</div>-->
                                <!--<div class="information-top-content" style="height: 100px">-->
                                <!--<img src="../../2-post/images/爱车论坛.png" alt="" style="width: 100px;height: 100px">-->
                                <!--<p class="information-top-content-p">xxx</p>-->
                                <!--</div>-->
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p">姓名</p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p" id="name"></p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p">密码</p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p" id="pwd"></p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p">性别</p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p" id="sex"></p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p">住址</p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p" id="adress"></p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p">生日</p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p" id="birthday"></p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p">QQ账号</p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p" id="QQ"></p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p">电话号码</p>
                                </div>
                                <div class="information-top-content" style="height: 70px">
                                    <p class="information-top-content-p" id="phone"></p>
                                </div>
                                <div class="information-top-notes">
                                    <p class="information-top-content-p" style=""> </p>
                                    <div class="information-top-head right" style="margin: 0 auto">
                                        <a class="information-top-head-p" href="xiugai.jsp">点击去修改</a>
                                    </div>

                                    <p>
                                    </p>
                                    <!--<ul style="text-align: left;">-->
                                    <!--&lt;!&ndash;<li style="font-size: 16px;line-height: 25px;font-family: " 微软雅黑";font-weight:="" 200;"="">● 适用考生：普通类文理科考生（艺术、体育类考生暂不适用）</li>&ndash;&gt;-->
                                    <!--&lt;!&ndash;<li style="font-size: 16px;line-height: 25px;font-family: " 微软雅黑";font-weight:="" 200;"="">● 适用批次：普通类本科批次 （提前批暂不适用）</li>&ndash;&gt;-->
                                    <!--&lt;!&ndash;<li style="font-size: 16px;line-height: 25px;font-family: " 微软雅黑";font-weight:="" 200;"="">● 专业测评报告不适用高职专科批</li>&ndash;&gt;-->
                                    <!--</ul>-->
                                    <p></p>
                                    <p></p>
                                </div>
                                <script>
                                    $.ajax({
                                        url: '/forum/user/getUserInfo',
                                        success:function (data) {
                                            if (data.state === '200' ){
                                                console.log(data.data);
                                                console.log(data.data.userName);
                                                var userName = data.data.userName;
                                                var parm = "userName=" + userName;
                                                $.ajax({
                                                    url:"/forum/usercenter/selectByUsetName",
                                                    data:parm,
                                                    type:"post",
                                                    success:function (result) {
                                                        var html = "<img src=\"" + result.userPhoto + "\" />";
                                                        $('#photoName').html(html);
                                                        $('#bigname').text("账号名：" + result.userName)
                                                        $('#name').text(result.userName);
                                                        $('#pwd').text(result.userPassword);
                                                        $('#sex').text(result.userSex);
                                                        $('#adress').text(result.userArea);
                                                        $('#birthday').text(result.other1);
                                                        $('#QQ').text(result.userQq);
                                                        $('#phone').text(result.userPhone)
                                                    }
                                                })


                                            }
                                        }
                                    })
                                </script>
                            </div>
                        </div>
                    </div>
                    <div class="tab-item" id="tab-two">
                        <div class="information-tab ">
                            <div class="information-record">
                                <!--<script src="//dx0.xcar.com.cn/dsp/adpc?appId=M7nuyi&amp;deviceType=2&amp;posId=1771,1772,1773,1774,1775&amp;site_page=&amp;site_ref=&dx_channel=739"></script>-->
                                <div class="" style="width: 80%;float: left">
                                    <div class="wp clearfix" style="width: 100%">
                                        <div class="forum_list_module" style="">
                                            <ul class="topic_list_item" id="topicList1" style="width: 100%">
                                                <!-- 无内容 start -->
                                                <!-- 帖子类型-->
                                                <!--普通帖（普通帖、长文、新车作业、二手车等）-->
                                                <li class="default_item">
                                                    <div class="detail_item">
                                                        <dl class="article_item full_item">
                                                            <dt>
                                                                <a href="../3_main/3_showpost.html?id=1" style="float: left"> 老凯俚酸汤鱼 </a>
                                                            </dt><dd>
                                                                <a href="../3_main/3_showpost.html?id=1"> 吃吗？ </a>
                                                            </dd></dl>
                                                        <div class="source_item">
                                                            <div class="user_item">
                                                                <em class="date_item">2020-05-24 17:53</em>
                                                            </div>
                                                            <em style="float: left;margin-left: 30px">宝马</em>
                                                            <em><button type="button" class="btn btn-danger" onclick="btn1(1)">删除</button></em>
                                                            <em style="margin-right: 30px;">22人已收藏</em>
                                                        </div>
                                                    </div> </li>
                                            </ul>
<!--                                            <span style="margin-top: 30px">未审核帖子</span>-->
                                            <ul class="topic_list_item" id="topicList11" style="width: 100%;margin-top: 50px;border-bottom: 1px solid black">
                                               <span style="font-size: x-large">未审核帖</span>
                                            </ul>

                                            <ul class="topic_list_item" id="topicList111" style="width: 100%;margin-top: 20px">
                                                <!-- 无内容 start -->
                                                <!-- 帖子类型-->
                                                <!--普通帖（普通帖、长文、新车作业、二手车等）-->
<!--                                                <li class="default_item">-->
<!--                                                    <div class="detail_item">-->
<!--                                                        <dl class="article_item full_item">-->
<!--                                                            <dt>-->
<!--                                                                <a href="../3_main/3_showpost.html?id=1" style="float: left"> 老凯俚酸汤鱼 </a>-->
<!--                                                            </dt><dd>-->
<!--                                                            <a href="../3_main/3_showpost.html?id=1"> 吃吗？ </a>-->
<!--                                                        </dd></dl>-->
<!--                                                        <div class="source_item">-->
<!--                                                            <div class="user_item">-->
<!--                                                                <em class="date_item">2020-05-24 17:53</em>-->
<!--                                                            </div>-->
<!--                                                            <em style="float: left;margin-left: 30px">宝马</em>-->
<!--                                                            <em><button type="button" class="btn btn-danger" onclick="btn1(1)">删除</button></em>-->
<!--                                                            <em style="margin-right: 30px;">22人已收藏</em>-->
<!--                                                        </div>-->
<!--                                                    </div> </li>-->
                                            </ul>
                                            <!--<div id="div_newd0_js_1777" style="float:left;width:100%;overflow: hidden;"></div>-->
                                        </div>
                                    </div>
                                </div>

                                <script>
                                    $.ajax({
                                        url: '/forum/user/getUserInfo',
                                        success:function (data) {
                                            if (data.state === '200' ){
                                                console.log(data.data);
                                                console.log(data.data.userName);
                                                var userName = data.data.userName;
                                                var parem = "userName=" + userName;
                                                $.ajax({
                                                    url:"/forum/post/selectByUserName",
                                                    data:parem,
                                                    type:"post",
                                                    success:function (data) {
                                                        var html = "";
                                                        for (var i = 0; i < data.length; i++){
                                                            html = html + "<li class=\"default_item\" id='lione" + data[i].postId + "'>\n" +
                                                                "                                                    <div class=\"detail_item\">\n" +
                                                                "                                                        <dl class=\"article_item full_item\">\n" +
                                                                "                                                            <dt>";
                                                            html = html + "<a href=\"../../3_main/3_showpost.html?id=" + data[i].postId + "\" style=\"float: left\">" + data[i].postName + "</a>";
                                                            html = html + "</dt><dd style=\"margin-top: 7px;margin-bottom: 7px\">" + "<a href=\"../../3_main/3_showpost.html?id=" + data[i].postId + "\">" + data[i].other1 + "</a>";
                                                            html = html + "</dd></dl>\n" +
                                                                "                                                        <div class=\"source_item\">\n" +
                                                                "                                                            <div class=\"user_item\">\n" +
                                                                "                                                                <em class=\"date_item\">" + data[i].other2 + "</em></div>";
                                                            html = html + "<em style=\"float: left;margin-left: 30px\">" + data[i].postType + "</em>";
                                                            html = html + "<em><button type=\"button\" class=\"btn btn-danger\" onclick=\"btn1(" + data[i].postId + ")\">删除</button></em>";
                                                            html = html + "<em style=\"margin-right: 30px;\">" + data[i].postCel + "人已收藏</em>";
                                                            html = html + "</div>\n" +
                                                                "                                                    </div> </li>";
                                                        }

                                                        $('#topicList1').html(html);
                                                    }
                                                })



                                                $.ajax({
                                                    url:"/forum/post/selectByUserNameInPosttest",
                                                    data:parem,
                                                    type:"post",
                                                    success:function (data) {
                                                        var html1 = "";
                                                        for (var i = 0; i < data.length; i++){
                                                            html1 = html1 + "<li class=\"default_item\" id='lioneone" + data[i].postId + "'>\n" +
                                                                "                                                    <div class=\"detail_item\">\n" +
                                                                "                                                        <dl class=\"article_item full_item\">\n" +
                                                                "                                                            <dt>";
                                                            html1 = html1 + "<a href=\"javascript:void(0);\" style=\"float: left\">" + data[i].postName + "</a>";
                                                            html1 = html1 + "</dt><dd style=\"margin-top: 7px;margin-bottom: 7px\">" + "<a href=\"javascript:void(0);\">" + data[i].other1 + "</a>";
                                                            html1 = html1 + "</dd></dl>\n" +
                                                                "                                                        <div class=\"source_item\">\n" +
                                                                "                                                            <div class=\"user_item\">\n" +
                                                                "                                                                <em class=\"date_item\">" + data[i].other2 + "</em></div>";
                                                            html1 = html1 + "<em style=\"float: left;margin-left: 30px\">" + data[i].postType + "</em>";
                                                            html1 = html1 + "<em><button type=\"button\" class=\"btn btn-danger\" onclick=\"btn11(" + data[i].postId + ")\">删除</button></em>";
                                                            // html1 = html1 + "<em style=\"margin-right: 30px;\">" + data[i].postCel + "人已收藏</em>";
                                                            html1 = html1 + "</div>\n" +
                                                                "                                                    </div> </li>";
                                                        }

                                                        $('#topicList111').html(html1);
                                                    }
                                                })



                                            }
                                        }
                                    })
                                </script>
                                <script>
                                    function btn1(info) {
                                        var postId = "postId=" + info;
                                        html1 = "";
                                        $.ajax({
                                            url:"/forum/post/deletePost",
                                            data:postId,
                                            success:function (data) {
                                                if (data == "success"){
                                                    alert("删除成功")
                                                    $("#lione" + info).replaceWith(html1);
                                                } else {
                                                    alert("删除失败")
                                                }
                                            }
                                        })

                                    }


                                    function btn11(num) {
                                        var postId = "postId=" + num;
                                        html2 = "";
                                        $.ajax({
                                            url:"/forum/post/deleteByPostTestId",
                                            data:postId,
                                            success:function (data) {
                                                if (data == "success"){
                                                    alert("删除成功")
                                                    $("#lioneone" + num).replaceWith(html2);
                                                } else {
                                                    alert("删除失败")
                                                }
                                            }
                                        })

                                    }

                                </script>

                            </div>
                        </div>
                    </div>
                    <div class="tab-item" id="tab-three">
                        <div class="information-tab ">
                            <div class="information-record">
                                <div class="" style="width: 80%;float: left">
                                    <div class="wp clearfix" style="width: 100%">
                                        <div class="forum_list_module" style="">
                                            <ul class="topic_list_item" id="topicList2" style="width: 100%">
                                                <!-- 无内容 start -->
                                                <!-- 帖子类型-->
                                                <!--普通帖（普通帖、长文、新车作业、二手车等）-->
                                                <!--<li class="default_item">-->
                                                    <!--<div class="detail_item">-->
                                                        <!--<dl class="article_item full_item">-->
                                                            <!--<dt>-->
                                                                <!--<a href="../3_main/3_showpost.html?id=" style="float: left"> 老凯俚酸汤鱼 </a>-->
                                                            <!--</dt>-->
                                                            <!--<dd style="margin-top: 7px;margin-bottom: 7px">-->
                                                                <!--<a href="/bbs/viewthread.php?tid=95244563"> 吃吗？ </a>-->
                                                            <!--</dd>-->
                                                        <!--</dl>-->
                                                        <!--<div class="source_item">-->
                                                            <!--<div class="user_item">-->
                                                                <!--<a href="//my.xcar.com.cn/space.php?uid=6919615" class="user_photo">-->
                                                                <!--<span class="user_name">我没有车队</span> </a>-->
                                                                <!--<em class="date_item">2020-05-24 17:53</em>-->
                                                            <!--</div>-->
                                                            <!--<em style="float: left">宝马</em>-->
                                                            <!--<em>取消收藏</em>-->
                                                            <!--<em>收藏数</em>-->
                                                        <!--</div>-->
                                                    <!--</div>-->
                                                <!--</li>-->



                                            </ul>
                                            <!--<div id="div_newd0_js_1777" style="float:left;width:100%;overflow: hidden;"></div>-->
                                        </div>
                                    </div>
                                </div>


                                <script>
                                    $.ajax({
                                        url: '/forum/user/getUserInfo',
                                        success:function (data) {
                                            if (data.state === '200' ){
                                                console.log(data.data);
                                                console.log(data.data.userName);
                                                var userName = data.data.userName;
                                                var parem = "userName=" + userName;
                                                $.ajax({
                                                    url:"/forum/praise/selectPostByUserName",
                                                    data:parem,
                                                    type:"post",
                                                    success:function (data) {
                                                        console.log(data)
                                                        var html = "";
                                                        for (var i = 0; i < data.length; i++){
                                                            html = html + "<li class=\"default_item\" id='litwo" + data[i].postId + "'>\n" +
                                                                "                                                    <div class=\"detail_item\">\n" +
                                                                "                                                        <dl class=\"article_item full_item\">\n" +
                                                                "                                                            <dt>";
                                                            html = html + "<a href=\"../../3_main/3_showpost.html?id=" + data[i].postId + "\" style=\"float: left\">" + data[i].postName + "</a>";
                                                            html = html + "</dt><dd style=\"margin-top: 7px;margin-bottom: 7px\">" + "<a href=\"../../3_main/3_showpost.html?id=" + data[i].postId + "\">" + data[i].other1 + "</a>";
                                                            html = html + "</dd></dl>\n" +
                                                                "                                                        <div class=\"source_item\">\n" +
                                                                "                                                            <div class=\"user_item\">\n" + "<a href=\"index1.html?userName="  + data[i].userName +  "\" class=\"user_photo\">" + "<span class=\"user_name\">" + data[i].userName + "</span></a>" +
                                                                "                                                                <em class=\"date_item\">" + data[i].other2 + "</em></div>";
                                                            html = html + "<em style=\"float: left;margin-left: 30px\">" + data[i].postType + "</em>";
                                                            html = html + "<em><button type=\"button\" class=\"btn btn-danger\" onclick=\"btn2(" + data[i].postId + "," + "'" + userName + "'" + ")\">取消收藏</button></em>";
                                                            html = html + "<em style=\"margin-right: 30px;\">" + data[i].postCel + "人已收藏</em>";
                                                            html = html + "</div>\n" +
                                                                "                                                    </div> </li>";
                                                        }

                                                        $('#topicList2').html(html);
                                                    }
                                                })
                                            }
                                        }
                                    })
                                </script>
                                <script>
                                    function btn2(info1,info2) {
                                        console.log("info1" + info1 + "," + "info2" + info2)
                                        var parm = "postId=" + info1 + "&userName=" + info2;
                                        html1 = "";
                                        $.ajax({
                                            url:"/forum/praise/deletePraiseByOther1",
                                            data:parm,
                                            type:"post",
                                            success:function (data) {
                                                if (data == "success"){
                                                    alert("取消收藏成功");
                                                    $("#litwo" + info1).replaceWith(html1);

                                                }else {
                                                    alert("取消收藏失败")
                                                }
                                            }
                                        })
                                    }
                                </script>
                            </div>
                        </div>
                    </div>
                    <div class="tab-item" id="tab-four">
                        <div class="information-tab ">
                            <div class="information-record">


                                <div class="" style="width: 70%;float: left">
                                    <div class="wp clearfix" style="width: 100%">
                                        <div class="forum_list_module" style="">
                                            <ul class="topic_list_item" id="topicList3" style="width: 100%">
                                                <!-- 无内容 start -->
                                                <!-- 帖子类型-->
                                                <!--普通帖（普通帖、长文、新车作业、二手车等）-->
                                                <!--<li class="default_item">-->

                                                        <!--<div  style="margin-left: 20px;margin-right: 20px" class="photo_box1">-->
                                                            <!--<div >-->
                                                                <!--<img  class="user_photo1" src="http://t8.baidu.com/it/u=2247852322,986532796&fm=79&app=86&f=JPEG?w=1280&h=853" alt="" >-->
                                                            <!--</div>-->
                                                        <!--</div>-->

                                                        <!--<div  style="" class="info_box1">-->
                                                            <!--<ul >-->
                                                                <!--<li style="margin-top: 25px;width: 150px;text-align: left" ><span style="font-size: larger">姓名：12345</span>-->
                                                                <!--<li style="margin-top: 15px;width: 150px;text-align: left"><span style="font-size: larger">发布帖子数：123</span>-->
                                                                <!--<li style="margin-top: 15px;width: 150px;text-align: left"><span style="font-size: larger">粉丝数：123</span>-->
                                                            <!--</ul>-->
                                                        <!--</div>-->
                                                    <!--<div class="source_item" >-->
                                                        <!--<button type="button" class="btn btn-info" style="float: right" onclick="btn3()">取消关注</button>-->
                                                    <!--</div>-->
                                                <!--</li>-->

                                            </ul>
                                            <!--<div id="div_newd0_js_1777" style="float:left;width:100%;overflow: hidden;"></div>-->
                                        </div>
                                    </div>
                                </div>

                                <script>
                                    $.ajax({
                                        url: '/forum/user/getUserInfo',
                                        success:function (data) {
                                            if (data.state === '200' ){
                                                console.log(data.data);
                                                console.log(data.data.userName);
                                                var userName = data.data.userName;
                                                var parem = "userName=" + userName;
                                                $.ajax({
                                                    url:"/forum/concern/selectByOther1Name",
                                                    data:parem,
                                                    type:"post",
                                                    success:function (data) {
                                                        var html = "";
                                                        for (var i = 0; i < data.length; i++){
                                                           html = html + "<li class=\"default_item\" id='lithree " + data[i].userId +"'>\n" +
                                                               "\n" +
                                                               "                                                        <div  style=\"margin-left: 20px;margin-right: 20px\" class=\"photo_box1\">\n" +
                                                               "                                                            <div >\n" +
                                                               "                                                                <a href=\"index1.html?userName=" + data[i].userName + "\"><img  class=\"user_photo1\" src=\"" + data[i].userPhoto + "\" alt=\"\" > </a>";
                                                           html = html + "</div>\n" +
                                                               "                                                        </div>\n" +
                                                               "\n" +
                                                               "                                                        <div  style=\"\" class=\"info_box1\">\n" +
                                                               "                                                            <ul >";
                                                           html = html + "<li style=\"margin-top: 25px;width: 150px;text-align: left\" ><span style=\"font-size: larger\">账号名：" + data[i].userName + "</span>";
                                                           html = html + "<li style=\"margin-top: 15px;width: 150px;text-align: left\"><span style=\"font-size: larger\">发布帖子数：" + data[i].status + "</span>";
                                                           html = html + "<li style=\"margin-top: 15px;width: 150px;text-align: left\"><span style=\"font-size: larger\">粉丝数：" + data[i].userFans + "</span>";
                                                           html = html + "</ul>\n" +
                                                               "                                                        </div>\n" +
                                                               "                                                    <div class=\"source_item\" >";
                                                           html = html + "<button type=\"button\" class=\"btn btn-info\" style=\"float: right\" onclick=\"btn3(" + "'" + data[i].userName + "'," + "'" + userName + "'" + "," + data[i].userId  + ")\">取消关注</button>";
                                                           html = html + "</div></li>"
                                                        }

                                                        $('#topicList3').html(html);
                                                    }
                                                })
                                            }
                                        }
                                    })
                                </script>
                                <script>
                                    function btn3(info1,info2,info3) {
                                        alert(info2)
                                        alert(info3)
                                        // console.log(info3)
                                        var parem = "userName=" + info2 + "&userByName=" + info1;
                                        html1 = "";
                                        $.ajax({
                                            url:"/forum/concern/deleteConcern",
                                            data:parem,
                                            type:"post",
                                            success:function (data) {
                                                if (data == "success"){
                                                    alert("取消关注成功")
                                                    $("#lithree" + info3).replaceWith(html1);
                                                }else {
                                                    alert("取消关注失败")
                                                }
                                            }
                                        })
                                    }
                                </script>


                            </div>
                        </div>
                    </div>




                    <div class="tab-item" id="tab-five">
                        <div class="information-tab ">
                            <div class="information-record">

                                <div class="" style="width: 70%;float: left">
                                    <div class="wp clearfix" style="width: 100%">
                                        <div class="forum_list_module" style="">
                                            <ul class="topic_list_item" id="topicList4" style="width: 100%">
                                                <!-- 无内容 start -->
                                                <!-- 帖子类型-->
                                                <!--普通帖（普通帖、长文、新车作业、二手车等）-->
                                                <!--<li class="default_item">-->

                                                    <!--<div id="photo_box2" style="margin-left: 20px;margin-right: 20px" class="photo_box1">-->
                                                        <!--<div >-->
                                                            <!--<img id="user_photo2" class="user_photo1" src="http://t8.baidu.com/it/u=2247852322,986532796&fm=79&app=86&f=JPEG?w=1280&h=853" alt="" >-->
                                                        <!--</div>-->
                                                    <!--</div>-->

                                                    <!--<div id="info_box2" style="" class="info_box1">-->
                                                        <!--<ul id="user">-->
                                                            <!--<li style="margin-top: 25px;width: 150px;text-align: left" ><span style="font-size: larger">账号名：12345</span>-->
                                                            <!--<li style="margin-top: 15px;width: 150px;text-align: left"><span style="font-size: larger">发布帖子数：123</span>-->
                                                        <!--</ul>-->
                                                    <!--</div>-->
                                                    <!--<div class="source_item" >-->
                                                        <!--<button type="button" class="btn btn-info" style="float: right">取消关注</button>-->
                                                    <!--</div>-->
                                                <!--</li>-->
                                            </ul>
                                        </div>
                                    </div>
                                </div>

                                <script>
                                    $.ajax({
                                        url: '/forum/user/getUserInfo',
                                        success:function (data) {
                                            if (data.state === '200' ){
                                                console.log(data.data);
                                                console.log(data.data.userName);
                                                var userName = data.data.userName;
                                                var parem = "userName=" + userName;
                                                $.ajax({
                                                    url:"/forum/concern/selectByOther2Name",
                                                    data:parem,
                                                    type:"post",
                                                    success:function (data) {
                                                        var html = "";
                                                        for (var i = 0; i < data.length; i++){
                                                            html = html + "<li class=\"default_item\">\n" +
                                                                "\n" +
                                                                "                                                        <div  style=\"margin-left: 20px;margin-right: 20px\" class=\"photo_box1\">\n" +
                                                                "                                                            <div >\n" +
                                                                //                                                                   "                                                                <a href=\"index1.html?userName=" + data[i].userName + "\"><img  class=\"user_photo1\" src=\"" + data[i].userPhoto + "\" alt=\"\" > </a>";
                                                                "                                                                <a href=\"index1.html?userName=" + data[i].userName + "\"><img  class=\"user_photo1\" src=\"" + data[i].userPhoto + "\" alt=\"\" ></a>";
                                                            html = html + "</div>\n" +
                                                                "                                                        </div>\n" +
                                                                "\n" +
                                                                "                                                        <div  style=\"\" class=\"info_box1\">\n" +
                                                                "                                                            <ul >";
                                                            html = html + "<li style=\"margin-top: 25px;width: 150px;text-align: left\" ><span style=\"font-size: larger\">账号名：" + data[i].userName + "</span>";
                                                            html = html + "<li style=\"margin-top: 15px;width: 150px;text-align: left\"><span style=\"font-size: larger\">发布帖子数：" + data[i].status + "</span>";
                                                            html = html + "</ul>\n" +
                                                                "                                                        </div>\n";
                                                            html = html + "</li>"
                                                        }

                                                        $('#topicList4').html(html);
                                                    }
                                                })
                                            }
                                        }
                                    })
                                </script>


                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
			//tab切换		
			$('.tab-button').click(function() {
				var tab = $(this).data('tab')
				$(this).addClass('cur').siblings('.tab-button').removeClass('cur');
				$('#tab-' + tab + '').addClass('active').siblings('.tab-item').removeClass('active');
			});
	
		</script>

    <!--获取登录用户信息-->

	
</body>
</html>